import Global from "./global";
const baseUrl = Global.isDebug ? Global.config.apiServerDebug : Global.config.apiServer;
const Actions = {
  LOGIN: {
    url: baseUrl + '/user/login2',
    method: 'POST',
    title: '登录调用'
  },
  TODO: {
    url: baseUrl + '/wo/todo',
    method: 'POST',
    title: '获取个人待办'
  },
  FLOW: {
    url: baseUrl + '/wo/flow',
    method: 'POST',
    title: '获取工单流转信息'
  },
  HISTORY: {
    url: baseUrl + '/wo/history',
    method: 'POST',
    title: '获取个人待办'
  }
};
export default Actions;